<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<form action="<%=basePath %>backend/addimage" class='form-horizontal'  method="post" id='xyForm' enctype="multipart/form-data">
	<div class="row-fluid">
		<div class="control-group span7" style='height: 70px;'>
			<div class="control-group">
				<label class="control-label">图片上传:</label> <input type="file"
					class='form-control' name="fileste" id="picture" />
			</div>
		</div>
		<div class="span5" id="photo">
			<font color="red">你添加了的图片：</font> <br>
		</div>


	</div>
	<div class="row div-common" style='margin-top: 10px;'>

		<!-- Optional: clear the XS cols if their content doesn't match in height -->

		<div class="span5 input-prepend"
			style='margin-top: 10px; margin-left: 10px;'>
			<span class="add-on">类 别</span>
			 <select class="span6" id='xytype'
				name='imgType'>
				<option value='0'>---请选择---</option>
				<option value="1">首页</option>
				<option value="2">党建</option>
				<option value="3">学生工作</option>
			</select>

		</div>
		
	</div>
	<div class="row" style='margin-top: 10px;'>
				<div class="span5 control-group">
					<span class="control-label"> 简介: </span>
					<div class='controls'>
						<textarea style='width: 300px; height: 200px;' name="imgIntro"></textarea>
					</div>
				</div>


			</div>
	


	

	<input type="submit" value="完成" style="margin-left: 500px;margin-top: 10px;" class="btn btn-info" onclick="return getContent();"/></div>
		
	</form>
	
	
